package com.thread.learn.thread5;

public class Main {
	
	public static void main(String[] args) {
		Singleton2 s1=Singleton2.getInstance();
		Singleton2 s2=Singleton2.getInstance();
		Singleton2 s3=Singleton2.getInstance();
		Singleton2 s4=Singleton2.getInstance();
		Singleton2 s5=Singleton2.getInstance();
		
		System.out.println(s1);
		System.out.println(s2);
		System.out.println(s3);
		System.out.println(s4);
		System.out.println(s5);
		
	}

}
